package com.huawei.m2m.cig.decoder.protocol;

import com.fasterxml.jackson.databind.node.ObjectNode;

public abstract class NBMessage {
	protected String name;
	protected int messageId;
	protected String type;

	public void encode(OutputBuffer paramOutputBuffer) {
	}

	public void decode(InputBuffer paramInputBuffer) {
	}

	public String getName() {
		return this.name;
	}

	public void setName(String paramString) {
		this.name = paramString;
	}

	public int getMessageId() {
		return this.messageId;
	}

	public void setType(String paramString) {
		this.type = paramString;
	}

	public String getType() {
		return this.type;
	}

	public void setMessageId(int paramInt) {
		this.messageId = paramInt;
	}

	public ObjectNode toJsonNode() {
		return null;
	}

	public void configJsonNode(ObjectNode paramObjectNode) throws Exception {
	}
}
